package org.example.device.entity.req;

import lombok.Data;
import org.example.base.entity.group.Update;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
@Data
public class DeviceReq implements Serializable {
    private static final long serialVersionUID = 6813769802204855963L;
    /**
     * 设备id
     */
    @NotBlank(groups = {Update.class})
    private String id;

    @NotNull
    private Long groupId;
}
